package main.parsers.matches;

import java.sql.Date;
import java.util.LinkedList;
import java.util.List;

public class Match 
{
	private Date date;
	private String host;
	private String guest;
	private String arbiter1;
	private String arbiter2;
	private String linesman1;
	private String linesman2;
	
	private List<Goal> goals;
	private List<Bullet> bullets;
	private List<Penalty> penalties;
	private List<GateStat> goalkeepers;
	private List<FieldStat> forwards;
	private List<FieldStat> defenders;
	
	public Match()
	{
		goals = new LinkedList<Goal>();
		bullets = new LinkedList<Bullet>();
		penalties = new LinkedList<Penalty>();
		goalkeepers = new LinkedList<GateStat>();
		forwards = new LinkedList<FieldStat>();
		defenders = new LinkedList<FieldStat>();
	}
	
	public void addGoal(Goal goal)
	{
		goals.add(goal);
	}
	
	public void addBullet(Bullet bullet)
	{
		bullets.add(bullet);
	}
	
	public void addPenalty(Penalty penalty)
	{
		penalties.add(penalty);
	}
	
	public void addGoalkeeper(GateStat stat)
	{
		goalkeepers.add(stat);
	}
	
	public void addForward(FieldStat stat)
	{
		forwards.add(stat);
	}
	
	public void addDefender(FieldStat stat)
	{
		defenders.add(stat);
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public Date getDate() {
		return date;
	}

	public void setHost(String host) {
		this.host = host;
	}

	public String getHost() {
		return host;
	}

	public void setGuest(String guest) {
		this.guest = guest;
	}

	public String getGuest() {
		return guest;
	}

	public void setArbiter1(String arbiter1) {
		this.arbiter1 = arbiter1;
	}

	public String getArbiter1() {
		return arbiter1;
	}

	public void setArbiter2(String arbiter2) {
		this.arbiter2 = arbiter2;
	}

	public String getArbiter2() {
		return arbiter2;
	}

	public void setLinesman1(String linesman1) {
		this.linesman1 = linesman1;
	}

	public String getLinesman1() {
		return linesman1;
	}

	public void setLinesman2(String linesman2) {
		this.linesman2 = linesman2;
	}

	public String getLinesman2() {
		return linesman2;
	}
}
